﻿namespace DotNet.HowToUseInterfacesDemo.GoodUse.Models
{
    /// <summary>
    /// Always try an avoid using interfaces for models unless there's really a good reason.
    /// Interfaces don't serailize. You want model classes to be serializable. 
    /// </summary>
    public class Person
    {
        public int Id { get; set; }

        public string FirstName { get; set; }
        
        public string LastName { get; set; }

        public MethodOfContact MethodOfContact { get; set; }
    }
}
